"""         turightle-example-suite:

              tdemo_teddy.py

A drawing sent in by a reader of
"Python fuer Kids", just after she had
read chapter 2, which introduces
turightle graphics.
"""
from qturtle import *

mode("logo")
speed(10)
shape("arrow")
pensize(3)
circle(66)
right(180)
circle(66)
penup()
left(90)
forward(33)
right(90)
forward(34)
pendown()
fillcolor("blue")
begin_fill()
circle(33)
end_fill()
penup()
forward(15)
left(90)
forward(4)
right(90)
pendown()
fillcolor("black")
begin_fill()
circle(11)
end_fill()
penup()
home()
left(90)
forward(33)
left(90)
forward(34)
left(180)
pendown()
fillcolor("blue")
begin_fill()
circle(33)
end_fill()
penup()
back(15)
right(90)
back(4)
left(90)
pendown()
fillcolor("black")
begin_fill()
circle(11)
end_fill()
penup()
home()
left(180)
forward(70)
pendown()
forward(30)
circle(30, 180)
penup()
right(180)
circle(-30, -180)
left(180)
pendown()
circle(-30, -180)
right(180)
circle(30, 90)
right(90)
fillcolor("red")
begin_fill()
circle(30, 180)
end_fill()
penup()
home()
forward(80)
right(90)
forward(100)
fillcolor("brown")
pendown()
left(50)
circle(-70, 200)
penup()
home()
forward(80)
left(90)
forward(100)
pendown()
right(50)
circle(70, 200)
penup()
home()
left(90)
forward(190)
left(90)
forward(40)
pendown()
circle(190, 180)
penup()
home()
forward(80)
pendown()
circle(50, 60)
right(180)
circle(-50, 60)
right(180)
circle(-60, 60)
left(180)
circle(60, 60)
left(180)
circle(-30, 60)
penup()
home()
back(110)
left(90)
forward(20)
pendown()
forward(1)
penup()
forward(19)
pendown()
forward(1)
penup()
right(180)
forward(60)
pendown()
forward(1)
penup()
forward(19)
pendown()
forward(1)
penup()
right(90)
forward(10)
right(90)
forward(10)
pendown()
forward(1)
penup()
forward(60)
pendown()
forward(1)
penup()
home()
hideturtle()
mainloop()

